package cn.itcast.service.impl;

import cn.itcast.domain.User;
import cn.itcast.mapper.UserMapper;
import cn.itcast.service.UserService;
import cn.itcast.utils.MapperUtil;

import java.util.List;

public class UserServiceImpl implements UserService {
    private UserMapper mapper = (UserMapper) MapperUtil.getMapper(UserMapper.class);
    @Override
    public List<User> findLike(String username) {
        return mapper.findLike(username);
    }
}
